﻿using PluginAPI.Core;

namespace Utils.ModuleKiller
{
    /// <summary>
    /// 
    /// </summary>
    public class KillerInfo
    {
        /// <summary>
        /// 用户 ID
        /// </summary>
        public string UserID { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public Player Player { get; set; }



        /// <summary>
        /// 歼灭数 | 基金会
        /// </summary>
        public uint KillFoundation { get; set; } = 0;

        /// <summary>
        /// 歼灭数 | 混沌分裂者势力
        /// </summary>
        public uint KillChaos { get; set; } = 0;

        /// <summary>
        /// 歼灭人类
        /// </summary>
        public uint KillHuman => KillChaos + KillFoundation;



        public KillerInfo(Player player)
        { 
            this.UserID = player.UserId;
            this.Player = player;

            KillFoundation = KillChaos = 0;
        }
    }
}
